﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YueDuTZSL.aspx.cs" Inherits="Web.Pages.YongShui._13.LAIHANGL.YUEDUTZSL" Theme="Default" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<%@ Register Src="~/Control/LAIHAN/UCLHUserInfo.ascx" TagPrefix="uc1" TagName="UCLHUserInfo" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <script type="text/javascript">
        function OpenWenjian(laihanbh, yonghuh) {

            openCenter("LAIHANWJLB.aspx?laihanbh=" + laihanbh + "&yonghuh=" + yonghuh + "&laihanlx=" + HidListName.Get("laihanlx")+"&laihanlc=20", "700px", "380px");
        }
        function GetQueryString(name) {

            var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i"));

            if (result == null || result.length < 1) {

                return "";

            }

            return result[1];

        }
        function OpenWJLB() {
            var yhh = "";
            var laihan = "";
            if (GetQueryString("id") != null) {
                yhh = $("#h_yonghuh").val();
                laihan = $("#h_laihanbh").val();
            }
            
            OpenWenjian(laihan, yhh);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="tabletitle1">
                月度调整受理
            </div>
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" class="noprint">
                <ContentTemplate>
                    <asp:HiddenField ID="h_yonghuh" runat="server" />
                    <asp:HiddenField ID="h_laihanbh" runat="server" />
                    <dx:ASPxHiddenField ID="HidListName" ClientInstanceName="HidListName" runat="server"></dx:ASPxHiddenField>
                    <uc1:UCLHUserInfo runat="server" ID="UCLHUserInfo" LaiHanLX="月度" ControlType="3" />
                    <br />
                    <fieldset style="border: 1px solid  cornflowerblue;">
                        <legend><b>申请计划量</b></legend>
                        <table style="width: 100%;">
                            <tr>
                                <td align="right" width="120px">上月实用水量

                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSYL"  ReadOnly="true" runat="server" Width="100%"></dx:ASPxTextBox>

                                </td>
                                <td align="right" width="60px">原计划
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtYJH" ReadOnly="true" runat="server" Width="100%"></dx:ASPxTextBox>
                                </td>
                                <td align="right" width="100px">申请计划量
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtJHL" ReadOnly="true" runat="server" Width="100%"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <dx:ASPxCheckBox ID="chkBAI" Text="百立方输入"  ReadOnly="true" Checked="true" runat="server"></dx:ASPxCheckBox>

                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <br />
                    <fieldset style="border: 1px solid  cornflowerblue;">
                        <legend><b>申请理由</b></legend>

                        <dx:ASPxMemo runat="server" ID="txtLiYou" Height="71px" Width="100%"></dx:ASPxMemo>
                    </fieldset>
                    <br />
                    <fieldset style="border: 1px solid  cornflowerblue;">
                        <legend><b>备注</b></legend>
                        <dx:ASPxMemo runat="server" ID="txtBeiZhu" Height="71px" Width="100%"></dx:ASPxMemo>
                    </fieldset>
                    <br />
                    <table style="margin: 0px auto; margin-right: 1px">
                        <tr>

                            <td align="center">
                                <dx:ASPxButton ID="BtnWJLB" runat="server" UseSubmitBehavior="false" AutoPostBack="false" Text="文件列表">
                                    <ClientSideEvents Click="function(s,e){OpenWJLB();}" />
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                    <hr />
                    <table style="margin: 0px auto">
                        <tr>

                            <td align="center">
                                <asp:HiddenField ID="laihanid" runat="server" />
                                <asp:HiddenField ID="h_yue" runat="server" />

                                <dx:ASPxButton ID="BtnBack" runat="server" UseSubmitBehavior="false" OnClick="BtnBack_Click" Text="退回"></dx:ASPxButton>
                                <dx:ASPxButton ID="BtnSL" runat="server" OnClick="BtnSL_Click" Text="受理"></dx:ASPxButton>
                                <dx:ASPxButton ID="BtnBSL" runat="server" UseSubmitBehavior="false" OnClick="BtnBSL_Click" Text="不受理"></dx:ASPxButton>
                                <dx:ASPxButton ID="BtnFQ" runat="server" UseSubmitBehavior="false" Text="放弃" AutoPostBack="false">
                                    <ClientSideEvents Click="function(s,e){window.close();}" />
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
    </form>
</body>
</html>
